import type { XtxGuessInsatance } from '@/components/components'
import { ref } from 'vue'

//猜你喜欢
export const useGuessLike = () => {
  //获取猜你喜欢
  const guessRef = ref<XtxGuessInsatance>()

  //滚动触底函数
  const onScrolltolower = () => {
    guessRef.value?.getMore()
  }
  return {
    guessRef,
    onScrolltolower,
  }
}
